window.onload = function() {
    let login = Cookies.get('loginCount')
    if (login) {

    } else {
        alert('请登录！')
        location.href = 'login.html'
    }
}